import request from '@/utils/request'

// 查询端午幸运签管理列表
export function listLuckLot(query) {
  return request({
    url: '/business/luckLot/list',
    method: 'get',
    params: query
  })
}

// 查询端午幸运签管理详细
export function getLuckLot(id) {
  return request({
    url: '/business/luckLot/' + id,
    method: 'get'
  })
}

// 新增端午幸运签管理
export function addLuckLot(data) {
  return request({
    url: '/business/luckLot',
    method: 'post',
    data: data
  })
}

// 修改端午幸运签管理
export function updateLuckLot(data) {
  return request({
    url: '/business/luckLot',
    method: 'put',
    data: data
  })
}

// 删除端午幸运签管理
export function delLuckLot(id) {
  return request({
    url: '/business/luckLot/' + id,
    method: 'delete'
  })
}
